﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ORMAC.Paterns
{

    /// <summary>
    /// decorates class <typeparam name="T">docorated class</typeparam> with extra functionality
    /// </summary>
    public interface Decorator<DecoratorBase,ComponentBase> 
        where ComponentBase:new()
        where DecoratorBase:ComponentBase
    {
        ComponentBase Component
        {
            get;
            set;
        }        
    }
}
